﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shop.Model.Dto.Admin.Use
{
    /// <summary>
    /// 用户上级变化对象
    /// </summary>
    public class SuperiorChangeDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Required(ErrorMessage = "用户ID不可为空")]
        public int UserId { get; set; }

        /// <summary>
        /// 变化后的上级
        /// </summary>
        [Required(ErrorMessage = "新上级不可为空")]
        public long SuperiorId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Required(ErrorMessage = "备注不可为空")]
        public string Desc { get; set; }
    }
}
